//
//  TimeingSynchronization.h
//  Estate
//
//  Created by heyong on 2016/12/2.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TableModel.h"

@interface TimeingSynchronization : NSObject{
    dispatch_group_t group;
}

//返回是否有同步数据 Appledate调用
- (void)isSyncLocalData;

//服务器是否有新的数据
@property(assign, nonatomic)BOOL isNoData;

//用户表更新数据
@property (strong, nonatomic) NSMutableArray *userArr;
//记录表更新数据
@property (strong, nonatomic) NSMutableArray *workRecordArr;
//日记表更新数据
@property (strong, nonatomic) NSMutableArray *workDiaryArr;
//日志表更新数据
@property (strong, nonatomic) NSMutableArray *workLogArr;
//单位表更新数据
@property (strong, nonatomic) NSMutableArray *unitArr;
//项目人员表更新数据
@property (strong, nonatomic) NSMutableArray *proUsers;
//附件表新增数据
@property (strong, nonatomic) NSMutableArray *attachArr;
//项目单位表
@property (strong, nonatomic) NSMutableArray *proUnitArr;
//广告表
@property (strong, nonatomic) NSMutableArray *advArr;
//配置表
@property (strong, nonatomic) NSMutableArray *systemArr;
//巡检流程更新数据
@property (strong, nonatomic) NSMutableArray *inspectProcessArr;
//巡检流程记录更新数据
@property (strong, nonatomic) NSMutableArray *inspectProcrssRecordArr;
//巡检项实体更新数据
@property (strong, nonatomic) NSMutableArray *inspectItemArr;
//用户巡检项更新数据
@property (strong, nonatomic) NSMutableArray *inspectUserItemArr;
//工程巡检一键汇总更新数据
@property (strong, nonatomic) NSMutableArray *inspectTotalRecordArr;
//巡检组更新数据
@property (strong, nonatomic) NSMutableArray *inspectGroupArr;
//巡检组用户更新数据
@property (strong, nonatomic) NSMutableArray *inspectGroupUserArr;
//地址表更新数据
@property (strong, nonatomic) NSMutableArray *addressArr;
//项目表
@property (strong, nonatomic) NSMutableArray *projectArr;
//项目概览
@property (strong, nonatomic) NSMutableArray *projectEngineerSupveyArr;
//见证取样
@property (strong, nonatomic) NSMutableArray *sampleCodeArr;
//流程
@property (strong, nonatomic) NSMutableArray *processArr;
//流程记录
@property (strong, nonatomic) NSMutableArray *processRecordArr;
//见证取样流程
@property (strong, nonatomic) NSMutableArray *sampleProcessArr;
//见证流程记录查询
@property (strong, nonatomic) NSMutableArray *sampleProcessRecordArr;

//记录挡下来的项目表id
@property (strong, nonatomic) NSMutableArray *proids;


@end
